﻿using BasicData.ErrorCode;
using MediatR;

namespace BasicData.Write.API.application.Command.Permission
{
    /// <summary>
    /// 添加角色权限
    /// </summary>
    public class AddPermissionRoleCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        ///角色Id
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 权限Id
        /// </summary>
        public string PermissionId { get; set; }
    }
}
